﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace InventoryManager
{
    public partial class TaxDeliveryReceiptSelectionForm : Form
    {
        public TaxDeliveryReceiptSelectionForm()
        {
            InitializeComponent();
        }

        private void MainCompanyRadioButton_CheckedChanged(object sender, EventArgs e)
        {
            if (MainCompanyRadioButton.Checked)
                BranchNameTextBox.Visible = false;
            else
                BranchNameTextBox.Visible = true;
        }

        private void BranchCompanyRadioButton_CheckedChanged(object sender, EventArgs e)
        {
            if (MainCompanyRadioButton.Checked)
                BranchNameTextBox.Visible = false;
            else
                BranchNameTextBox.Visible = true;
        }
    }
}
